package me.zhengjie.kwService;

import me.zhengjie.pojo.dto.FindStudentExamDto;
import me.zhengjie.pojo.dto.PhoneScoreDto;
import me.zhengjie.pojo.entity.ExamStudent;
import me.zhengjie.util.BaseResponse;

import javax.servlet.http.HttpServletRequest;

/**
 * @author Long
 * @date 2021/7/6 11:07
 */
public interface PhoneStudentService {
    /**
     * 查询学生考试信息
     * @param dto 考试信息id
     * @param request 请求头获取userToken
     * @return 查询结果
     */
    BaseResponse findStudentExam(FindStudentExamDto dto, HttpServletRequest request);

    /**
     * 学生考试详情查询
     * @param id 考场考生安排表id
     * @return 成绩、成绩复核状态、成绩证明状态等
     */
    ExamStudent findStudentScore(Integer id);

    /**
     * 学生成绩复核或成绩证明申请
     * @param dto 申请信息dto
     *
     */
    void saveScoreStatus(PhoneScoreDto dto);
}
